package com.dotflat.xj.domain;

import com.dotflat.rest.domain.AreableObjectBase;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 巡检记录对象
 * 
 * @author #
 * @date 2021-11-25
 */
@Entity
@Table(name = "xj_target_record")
@lombok.Data
@EqualsAndHashCode(callSuper = true)
public class TargetRecord extends AreableObjectBase
{



    /** 巡检ID */
    @Column(columnDefinition = "varchar(255)     COMMENT '巡检ID' ")
    private String targetId;

    /** 类型0卡1二维码 */
    @Column(columnDefinition = "varchar(255) DEFAULT '0'   COMMENT '类型0卡1二维码' ")
    private String type = String.valueOf(0);;

    /** 状态0正常1异常2未处理3已处理 */
    @Column(columnDefinition = "varchar(255) DEFAULT '0'   COMMENT '状态0正常1异常2未处理3已处理' ")
    private String status = String.valueOf(0);

    /** 巡检人 */
    @Column(columnDefinition = "varchar(255)     COMMENT '巡检人' ")
    private String userName;

    /** 时间 */
    @Column(columnDefinition = "varchar(255)     COMMENT '时间' ")
    private String time;

    /** 检查班级 */
    @Column(columnDefinition = "varchar(255)     COMMENT '检查班级' ")
    private String targetClass;

    /** 记录总分数 */
    @Column(columnDefinition = "int(6)  DEFAULT 0    COMMENT '记录总分数' ")
    private Integer recordCount;

    /** 记录总检查项 */
    @Column(columnDefinition = "int(6)  DEFAULT 0    COMMENT '记录总检查项' ")
    private Integer recordNumber;
}
